<?php session_start(); ?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>NRL betting</title>

    <script type="text/javascript" src="jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="scripts/stat_ajax.js"></script>
    <link rel="stylesheet" type="text/css" href="static/bootstrap.min.css" media="all">

    <style type="text/css">
        body {
            background: #F6F6F6;
            text-align: center
        }
        h2 {
            margin-bottom:5px;
        }
        #container {
            width:1024px;
            margin:0px auto;
        }
        #welcome {
        }
        #controller {
            overflow:auto;
            width:500px;
            margin:0px auto;
            margin-top:20px;
        }
        #results {
            text-align:left;

        }
        div.control {
            float:left;
        }
        label {
            font-weight:bold;
        }
        #submit {
            margin-top:7px;
        }

        tr.highlight td {
            font-weight:bold;
        }
    </style>

</head>
<body>
<div id="container">
    <div id="welcome" class="hero-unit">
        <h1>Welcome to NRL Tipping</h1>
        <h2>Select a Home and Away team to return results.</h2>
        <div id="controller">

            <form id="statForm">
                <div class="control">
                    <label for="home">Team A</label>
                    <select id="home" name="home">
                        <?php include('engine/teamoptions.php');?>
                    </select>
                </div>
                <div class="control">
                    <label for="away">Team B</label>
                    <select id="away" name="away">
                        <?php include('engine/teamoptions.php');?>
                    </select>
                </div>
                <div class="control">
                    <br />
                    <input type="button" id="submit" value="Submit" />

                </div>
            </form>
        </div>
    </div>
    <div id="results">
        <h2>1. History</h2>
        <table class="table table-striped">
            <tr>
                <th>Date</th>
                <th>Kick off</th>
                <th>Home</th>
                <th>Away</th>
                <th>Home Score</th>
                <th>Away Score</th>
                <th>Home Odds</th>
                <th>Draw Odds</th>
                <th>Away Odds</th>
            </tr>

        </table>
    </div>
</div>

</body>
</html>

<?php include("engine/dbclose.php");